package com.ut.demo.util;

import ohos.agp.components.Component;

public class ComponentUtil {

    public static  <T> T findComponent(Component component, int id){
        return (T)component.findComponentById(id);
    }

}
